package com.huabo.audit.oracle.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@TableName("TBL_NBSJ_INNERRULE")
@ApiModel(value="TblNbsjInnerrule", description="管理制度")
@Accessors(chain = true)
public class TblNbsjInnerrule implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId("INNRULID")
	@ApiModelProperty(value="主键")
	private BigDecimal innrulid;

    @TableField("RULENAME")
	@ApiModelProperty(value="制度名称")
    private String rulename;

    @TableField("PUBLISHORG")
	@ApiModelProperty(value="发文机构,传入orgid")
    private String publishorg;

    @TableField("PUBLISHDATE")
	@ApiModelProperty(value="生效日期",hidden = true)
    private Date publishdate;

    @TableField("RULENUMBER")
	@ApiModelProperty(value="发文文号")
    private String rulenumber;

    @TableField("RULECODE")
	@ApiModelProperty(value="制度编号")
    private String rulecode;

    @TableField("INNRULETYPE")
	@ApiModelProperty(value="类别")
    private String innruletype;
    
    @TableField("STATUS")
	@ApiModelProperty(value="状态：草稿、发布待审核、已发布、发布审核拒绝、已修订、已废止、废止待审核、废纸审核拒绝")
    private String status;    
    
    @TableField("BODYINFO")
	@ApiModelProperty(value="正文")
    private String bodyinfo;
    
    @TableField("COMPANYID")
	@ApiModelProperty(value="所属公司",hidden = true)
    private String companyid;
    
    @TableField("HOSTDEPARTMENT")
	@ApiModelProperty(value="",hidden = true)
    private String hostdepartment;

    @TableField("COORGANIZER")
	@ApiModelProperty(value="",hidden = true)
    private String coorganizer;

    @TableField("VERSION")
	@ApiModelProperty(value="",hidden = true)
    private String version;

    @TableField("TAKEEFFECTTIME")
	@ApiModelProperty(value="",hidden = true)
    private Date takeeffecttime;

    @TableField("SUMMARYINFO")
	@ApiModelProperty(value="",hidden = true)
    private String summaryinfo;

    @TableField("ENTERINGPERSON")
	@ApiModelProperty(value="",hidden = true)
    private String enteringperson;

    @TableField("ENTERINGTIME")
	@ApiModelProperty(value="",hidden = true)
    private Date enteringtime;

    @TableField("TIMELINESS")
	@ApiModelProperty(value="",hidden = true)
    private String timeliness;

    @TableField("MEMO")
	@ApiModelProperty(value="",hidden = true)
    private String memo;
    
    @TableField("ORGNAME")
	@ApiModelProperty(value="发文机构名称")
    private String orgname;
    
}
